<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.20"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Epigraph: cvx::Scalar Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo_small.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Epigraph
   </div>
   <div id="projectbrief">Convex Optimization in C++</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.20 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><b>cvx</b></li><li class="navelem"><a class="el" href="classcvx_1_1Scalar.html">Scalar</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="#friends">Friends</a> &#124;
<a href="classcvx_1_1Scalar-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">cvx::Scalar Class Reference</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a732f95755a143c96f91d9bb93a33ff24"><td class="memItemLeft" align="right" valign="top"><a id="a732f95755a143c96f91d9bb93a33ff24"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>Scalar</b> (int x)</td></tr>
<tr class="separator:a732f95755a143c96f91d9bb93a33ff24"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a05d5421446e20a8b147efcdf29a22949"><td class="memItemLeft" align="right" valign="top"><a id="a05d5421446e20a8b147efcdf29a22949"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>Scalar</b> (double x)</td></tr>
<tr class="separator:a05d5421446e20a8b147efcdf29a22949"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6b7902215a06875c53e2795e10506daf"><td class="memItemLeft" align="right" valign="top"><a id="a6b7902215a06875c53e2795e10506daf"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>Scalar</b> (double *x)</td></tr>
<tr class="separator:a6b7902215a06875c53e2795e10506daf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad71f731a8de5140e3176d3fd14de70a2"><td class="memItemLeft" align="right" valign="top"><a id="ad71f731a8de5140e3176d3fd14de70a2"></a>
<a class="el" href="classcvx_1_1Scalar.html">Scalar</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>operator+=</b> (const <a class="el" href="classcvx_1_1Scalar.html">Scalar</a> &amp;other)</td></tr>
<tr class="separator:ad71f731a8de5140e3176d3fd14de70a2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adca77e864a3104943e08ec218c9e4454"><td class="memItemLeft" align="right" valign="top"><a id="adca77e864a3104943e08ec218c9e4454"></a>
<a class="el" href="classcvx_1_1Scalar.html">Scalar</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>operator-=</b> (const <a class="el" href="classcvx_1_1Scalar.html">Scalar</a> &amp;other)</td></tr>
<tr class="separator:adca77e864a3104943e08ec218c9e4454"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a89d30664abff18000bce0cfdedd5572e"><td class="memItemLeft" align="right" valign="top"><a id="a89d30664abff18000bce0cfdedd5572e"></a>
<a class="el" href="classcvx_1_1Scalar.html">Scalar</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>operator*=</b> (const <a class="el" href="classcvx_1_1Scalar.html">Scalar</a> &amp;other)</td></tr>
<tr class="separator:a89d30664abff18000bce0cfdedd5572e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abc7e79a661d7ba4e2dd5ab5013b070de"><td class="memItemLeft" align="right" valign="top"><a id="abc7e79a661d7ba4e2dd5ab5013b070de"></a>
<a class="el" href="classcvx_1_1Scalar.html">Scalar</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>operator/=</b> (const <a class="el" href="classcvx_1_1Scalar.html">Scalar</a> &amp;other)</td></tr>
<tr class="separator:abc7e79a661d7ba4e2dd5ab5013b070de"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a56f319a7dcc40f9b13788f2f051595a1"><td class="memItemLeft" align="right" valign="top"><a id="a56f319a7dcc40f9b13788f2f051595a1"></a>
<a class="el" href="classcvx_1_1Scalar.html">Scalar</a>&#160;</td><td class="memItemRight" valign="bottom"><b>operator-</b> () const</td></tr>
<tr class="separator:a56f319a7dcc40f9b13788f2f051595a1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abc31fc87ed9a6d090bb6edf8c4144350"><td class="memItemLeft" align="right" valign="top"><a id="abc31fc87ed9a6d090bb6edf8c4144350"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>operator==</b> (const <a class="el" href="classcvx_1_1Scalar.html">cvx::Scalar</a> &amp;other) const</td></tr>
<tr class="separator:abc31fc87ed9a6d090bb6edf8c4144350"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a38e91b2231675d88c47096888aabe8ee"><td class="memItemLeft" align="right" valign="top"><a id="a38e91b2231675d88c47096888aabe8ee"></a>
double&#160;</td><td class="memItemRight" valign="bottom"><b>evaluate</b> () const</td></tr>
<tr class="separator:a38e91b2231675d88c47096888aabe8ee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0122f8e0495f49927b4aa59e08c7aa50"><td class="memItemLeft" align="right" valign="top"><a id="a0122f8e0495f49927b4aa59e08c7aa50"></a>
size_t&#160;</td><td class="memItemRight" valign="bottom"><b>getOrder</b> () const</td></tr>
<tr class="separator:a0122f8e0495f49927b4aa59e08c7aa50"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a17e602b4f23dbb9f4b6a1321cc51cf73"><td class="memItemLeft" align="right" valign="top"><a id="a17e602b4f23dbb9f4b6a1321cc51cf73"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>isNorm</b> () const</td></tr>
<tr class="separator:a17e602b4f23dbb9f4b6a1321cc51cf73"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aebdfec5be4764b6ddf88a2f938ec399e"><td class="memItemLeft" align="right" valign="top"><a id="aebdfec5be4764b6ddf88a2f938ec399e"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>operator double</b> () const</td></tr>
<tr class="separator:aebdfec5be4764b6ddf88a2f938ec399e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af58efa5d013c2adf6d1fb9be225ebf27"><td class="memItemLeft" align="right" valign="top"><a id="af58efa5d013c2adf6d1fb9be225ebf27"></a>
friend&#160;</td><td class="memItemRight" valign="bottom"><b>internal::Variable::operator Scalar</b> () const</td></tr>
<tr class="separator:af58efa5d013c2adf6d1fb9be225ebf27"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:acc0c3b9516e5460eff03d6555b6305cd"><td class="memItemLeft" align="right" valign="top"><a id="acc0c3b9516e5460eff03d6555b6305cd"></a>
friend&#160;</td><td class="memItemRight" valign="bottom"><b>OptimizationProblem</b></td></tr>
<tr class="separator:acc0c3b9516e5460eff03d6555b6305cd"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
Friends</h2></td></tr>
<tr class="memitem:a0cdf87d8f6272fb84609a45e43156555"><td class="memItemLeft" align="right" valign="top"><a id="a0cdf87d8f6272fb84609a45e43156555"></a>
<a class="el" href="classcvx_1_1Scalar.html">Scalar</a>&#160;</td><td class="memItemRight" valign="bottom"><b>operator+</b> (const <a class="el" href="classcvx_1_1Scalar.html">Scalar</a> &amp;lhs, const <a class="el" href="classcvx_1_1Scalar.html">Scalar</a> &amp;rhs)</td></tr>
<tr class="separator:a0cdf87d8f6272fb84609a45e43156555"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a81227124ce85ca51c4408f3c5683825f"><td class="memItemLeft" align="right" valign="top"><a id="a81227124ce85ca51c4408f3c5683825f"></a>
<a class="el" href="classcvx_1_1Scalar.html">Scalar</a>&#160;</td><td class="memItemRight" valign="bottom"><b>operator-</b> (const <a class="el" href="classcvx_1_1Scalar.html">Scalar</a> &amp;lhs, const <a class="el" href="classcvx_1_1Scalar.html">Scalar</a> &amp;rhs)</td></tr>
<tr class="separator:a81227124ce85ca51c4408f3c5683825f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aafaa7f422355f08c92fa940d9c33f15c"><td class="memItemLeft" align="right" valign="top"><a id="aafaa7f422355f08c92fa940d9c33f15c"></a>
<a class="el" href="classcvx_1_1Scalar.html">Scalar</a>&#160;</td><td class="memItemRight" valign="bottom"><b>operator*</b> (const <a class="el" href="classcvx_1_1Scalar.html">Scalar</a> &amp;lhs, const <a class="el" href="classcvx_1_1Scalar.html">Scalar</a> &amp;rhs)</td></tr>
<tr class="separator:aafaa7f422355f08c92fa940d9c33f15c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a17ce5f58ad9f27f58c7c3b8b5f090337"><td class="memItemLeft" align="right" valign="top"><a id="a17ce5f58ad9f27f58c7c3b8b5f090337"></a>
<a class="el" href="classcvx_1_1Scalar.html">Scalar</a>&#160;</td><td class="memItemRight" valign="bottom"><b>operator/</b> (const <a class="el" href="classcvx_1_1Scalar.html">Scalar</a> &amp;lhs, const <a class="el" href="classcvx_1_1Scalar.html">Scalar</a> &amp;rhs)</td></tr>
<tr class="separator:a17ce5f58ad9f27f58c7c3b8b5f090337"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad5409e92e2b0fbd066860558342cf852"><td class="memItemLeft" align="right" valign="top"><a id="ad5409e92e2b0fbd066860558342cf852"></a>
<a class="el" href="classcvx_1_1Scalar.html">Scalar</a>&#160;</td><td class="memItemRight" valign="bottom"><b>sqrt</b> (const <a class="el" href="classcvx_1_1Scalar.html">Scalar</a> &amp;scalar)</td></tr>
<tr class="separator:ad5409e92e2b0fbd066860558342cf852"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab0989a1f53cf38731486bc206bd60b69"><td class="memItemLeft" align="right" valign="top"><a id="ab0989a1f53cf38731486bc206bd60b69"></a>
<a class="el" href="classcvx_1_1Scalar.html">Scalar</a>&#160;</td><td class="memItemRight" valign="bottom"><b>square</b> (const <a class="el" href="classcvx_1_1Scalar.html">Scalar</a> &amp;scalar)</td></tr>
<tr class="separator:ab0989a1f53cf38731486bc206bd60b69"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa1eab75bc043db6334ba6158b1f44166"><td class="memItemLeft" align="right" valign="top"><a id="aa1eab75bc043db6334ba6158b1f44166"></a>
<a class="el" href="classcvx_1_1Scalar.html">Scalar</a>&#160;</td><td class="memItemRight" valign="bottom"><b>abs2</b> (const <a class="el" href="classcvx_1_1Scalar.html">Scalar</a> &amp;scalar)</td></tr>
<tr class="separator:aa1eab75bc043db6334ba6158b1f44166"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a77509f09c0d64707e72245f3da70e9b3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classcvx_1_1Constraint.html">Constraint</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcvx_1_1Scalar.html#a77509f09c0d64707e72245f3da70e9b3">equalTo</a> (const <a class="el" href="classcvx_1_1Scalar.html">Scalar</a> &amp;lhs, const <a class="el" href="classcvx_1_1Scalar.html">Scalar</a> &amp;rhs)</td></tr>
<tr class="memdesc:a77509f09c0d64707e72245f3da70e9b3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create an equality constraint: lhs == rhs.  <a href="classcvx_1_1Scalar.html#a77509f09c0d64707e72245f3da70e9b3">More...</a><br /></td></tr>
<tr class="separator:a77509f09c0d64707e72245f3da70e9b3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a06d28308d4d0900fdfef9beca470144b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classcvx_1_1Constraint.html">Constraint</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcvx_1_1Scalar.html#a06d28308d4d0900fdfef9beca470144b">lessThan</a> (const <a class="el" href="classcvx_1_1Scalar.html">Scalar</a> &amp;lhs, const <a class="el" href="classcvx_1_1Scalar.html">Scalar</a> &amp;rhs)</td></tr>
<tr class="memdesc:a06d28308d4d0900fdfef9beca470144b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a less than or equal constraint: lhs &lt;= rhs.  <a href="classcvx_1_1Scalar.html#a06d28308d4d0900fdfef9beca470144b">More...</a><br /></td></tr>
<tr class="separator:a06d28308d4d0900fdfef9beca470144b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a322ba7ac4bb63546e853dd72d5f1295d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classcvx_1_1Constraint.html">Constraint</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcvx_1_1Scalar.html#a322ba7ac4bb63546e853dd72d5f1295d">greaterThan</a> (const <a class="el" href="classcvx_1_1Scalar.html">Scalar</a> &amp;lhs, const <a class="el" href="classcvx_1_1Scalar.html">Scalar</a> &amp;rhs)</td></tr>
<tr class="memdesc:a322ba7ac4bb63546e853dd72d5f1295d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a greater than or equal constraint: lhs &gt;= rhs.  <a href="classcvx_1_1Scalar.html#a322ba7ac4bb63546e853dd72d5f1295d">More...</a><br /></td></tr>
<tr class="separator:a322ba7ac4bb63546e853dd72d5f1295d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acf962f0faa89df17b47b718c5ddbaf65"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classcvx_1_1Constraint.html">Constraint</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcvx_1_1Scalar.html#acf962f0faa89df17b47b718c5ddbaf65">box</a> (const <a class="el" href="classcvx_1_1Scalar.html">Scalar</a> &amp;lower, const <a class="el" href="classcvx_1_1Scalar.html">Scalar</a> &amp;middle, const <a class="el" href="classcvx_1_1Scalar.html">Scalar</a> &amp;upper)</td></tr>
<tr class="memdesc:acf962f0faa89df17b47b718c5ddbaf65"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a box constraint: lower &lt;= middle &lt;= upper.  <a href="classcvx_1_1Scalar.html#acf962f0faa89df17b47b718c5ddbaf65">More...</a><br /></td></tr>
<tr class="separator:acf962f0faa89df17b47b718c5ddbaf65"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab915bd0151bc15e021ee54021335ad5a"><td class="memItemLeft" align="right" valign="top"><a id="ab915bd0151bc15e021ee54021335ad5a"></a>
std::ostream &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>operator&lt;&lt;</b> (std::ostream &amp;os, const <a class="el" href="classcvx_1_1Scalar.html">Scalar</a> &amp;scalar)</td></tr>
<tr class="separator:ab915bd0151bc15e021ee54021335ad5a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Friends And Related Function Documentation</h2>
<a id="acf962f0faa89df17b47b718c5ddbaf65"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acf962f0faa89df17b47b718c5ddbaf65">&#9670;&nbsp;</a></span>box</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classcvx_1_1Constraint.html">Constraint</a> box </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classcvx_1_1Scalar.html">Scalar</a> &amp;&#160;</td>
          <td class="paramname"><em>lower</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classcvx_1_1Scalar.html">Scalar</a> &amp;&#160;</td>
          <td class="paramname"><em>middle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classcvx_1_1Scalar.html">Scalar</a> &amp;&#160;</td>
          <td class="paramname"><em>upper</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Create a box constraint: lower &lt;= middle &lt;= upper. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">lower</td><td>The lower bound </td></tr>
    <tr><td class="paramname">middle</td><td>The middle term </td></tr>
    <tr><td class="paramname">upper</td><td>The upper bound </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classcvx_1_1Constraint.html">Constraint</a> The constraint to pass to addConstraint() </dd></dl>

</div>
</div>
<a id="a77509f09c0d64707e72245f3da70e9b3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a77509f09c0d64707e72245f3da70e9b3">&#9670;&nbsp;</a></span>equalTo</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classcvx_1_1Constraint.html">Constraint</a> equalTo </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classcvx_1_1Scalar.html">Scalar</a> &amp;&#160;</td>
          <td class="paramname"><em>lhs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classcvx_1_1Scalar.html">Scalar</a> &amp;&#160;</td>
          <td class="paramname"><em>rhs</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Create an equality constraint: lhs == rhs. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">lhs</td><td>The left hand side </td></tr>
    <tr><td class="paramname">rhs</td><td>The right hand side </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classcvx_1_1Constraint.html">Constraint</a> The constraint to pass to addConstraint() </dd></dl>

</div>
</div>
<a id="a322ba7ac4bb63546e853dd72d5f1295d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a322ba7ac4bb63546e853dd72d5f1295d">&#9670;&nbsp;</a></span>greaterThan</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classcvx_1_1Constraint.html">Constraint</a> greaterThan </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classcvx_1_1Scalar.html">Scalar</a> &amp;&#160;</td>
          <td class="paramname"><em>lhs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classcvx_1_1Scalar.html">Scalar</a> &amp;&#160;</td>
          <td class="paramname"><em>rhs</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Create a greater than or equal constraint: lhs &gt;= rhs. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">lhs</td><td>The left hand side </td></tr>
    <tr><td class="paramname">rhs</td><td>The right hand side </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classcvx_1_1Constraint.html">Constraint</a> The constraint to pass to addConstraint() </dd></dl>

</div>
</div>
<a id="a06d28308d4d0900fdfef9beca470144b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a06d28308d4d0900fdfef9beca470144b">&#9670;&nbsp;</a></span>lessThan</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classcvx_1_1Constraint.html">Constraint</a> lessThan </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classcvx_1_1Scalar.html">Scalar</a> &amp;&#160;</td>
          <td class="paramname"><em>lhs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classcvx_1_1Scalar.html">Scalar</a> &amp;&#160;</td>
          <td class="paramname"><em>rhs</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Create a less than or equal constraint: lhs &lt;= rhs. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">lhs</td><td>The left hand side </td></tr>
    <tr><td class="paramname">rhs</td><td>The right hand side </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classcvx_1_1Constraint.html">Constraint</a> The constraint to pass to addConstraint() </dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>include/<a class="el" href="expressions_8hpp_source.html">expressions.hpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="http://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.8.20
</small></address>
</body>
</html>
